﻿<%@ page language="java" import="java.util.*"
	contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<html>
<head lang="en">
    <meta charset="UTF-8">
    <title>超市库存管理系统</title>
    <link rel="stylesheet" href="css/public.css"/>
    <link rel="stylesheet" href="css/style.css"/>
    <style>
ul.pagination {
    display: inline-block;
    padding: 0;
    margin: 0;
}

ul.pagination li {display: inline;}

ul.pagination li a {
    color: black;
    float: left;
    padding: 8px 16px;
    text-decoration: none;
}
</style>
</head>
<body>
<!--头部-->
<header class="publicHeader">
    <h1>超市库存管理系统</h1>

    <div class="publicHeaderR">
        <p><span>下午好！</span><span style="color: #fff21b"> ${name}</span> , 欢迎你！</p>
        <a href="login.html">退出</a>
    </div>
    
</header>
<!--时间-->
<section class="publicTime">
    <span id="time">2015年1月1日 11:11  星期一</span>
    <a href="#">温馨提示：为了能正常浏览，请使用高版本浏览器！（IE10+）</a>
</section>
<!--主体内容-->
<section class="publicMian ">
    <div class="left">
        <h2 class="leftH2"><span class="span1"></span>功能列表 <span></span></h2>
        <nav>
            <ul class="list">
                <li id="active"><a href="goodsHomePage">商品信息管理</a></li>
			<li><a href="providerHomePage">供应商管理</a></li>
			<li><a href="userList.html">用户管理</a></li>
			<li><a href="inStockHomePage">商品入库</a></li>
			<li><a href="outStockHomePage">商品出库</a></li>
            </ul>
        </nav>
    </div>
    <div class="right">
        <div class="location">
            <strong>你现在所在的位置是:</strong>
            <span>供应商管理页面 >> 商品修改页面</span>
        </div>
        <div class="providerAdd">
        
            <form action="addGoods" method="post" enctype="multipart/form-data">
                <!--div的class 为error是验证错误，ok是验证成功-->
                <div class="">
                    <label for="providerId">商品编码：</label>
                    <input type="text" name="code" id="providerId" value="${requestScope.good.code}"/>
                    <span>*请输入商品编码</span>
                </div>
                <div>
                    <label for="providerName">商品名称：</label>
                    <input type="text" name="name" id="providerName" value="${requestScope.good.name}"/>
                    <span >*请输入商品名称</span>
                </div>
                <div>
                    <label for="people">规格：</label>
                    <input type="text" name="spec" id="people"  value="${requestScope.good.spec}"/>
                    <span>*请输入规格</span>

                </div>
                <div>
                    <label for="phone">描述:：</label>
                    <input type="text" name="summary" id="phone"  value="${requestScope.good.summary}"/>
                    <span>*请输入描述</span>
                </div>
                <div>
                    <label for="address">图片：</label>
                    <input type="file" name = "imgFile" value=" value="${requestScope.good.img}">
                    <span></span>
                </div>
                <div>
                    <label for="fax">传真：</label>
                    <input type="text" name="nums" id="fax"  value="${requestScope.good.nums}"/>
                    <span></span>
                </div>
                <div>
                    <label for="describe">备注：</label>
                    <input type="text" name="explain" id="describe"  value="${requestScope.good.explain}"/>
                </div>
                <div class="providerAddBtn">
                    <!--<a href="#">保存</a>-->
                    <!--<a href="providerList.html">返回</a>-->
                    <input type="submit" value="保存"/>
                    <input type="button" value="返回" onclick="history.back(-1)"/>
                </div>
            </form>
        </div>

    </div>
</section>
<footer class="footer">
</footer>
<script src="js/time.js"></script>

</body>
</html>